<template>
    <div class="no-access-page">
        <div>
            <img src="@/assets/images/no-access.png" class="no-access"/>
        </div>
        <div class="no-access-btn">
            <van-button type="primary" block @click="goHome">返回</van-button>
        </div>
    </div>
</template>

<script>
export default {
  methods: {
    goHome () {
      this.$router.push({ name: 'subsidy-swj-index' })
    }
  }
}
</script>

<style scoped lang="less">
    .no-access-page {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: 100%;
        background-color: #dcd8d9;

        .no-access {
            width: 100%;
        }

        .no-access-btn {
            width: 90%;
        }

        /deep/ .van-button--primary {
            color: #fff;
            background-color: #c0c1c1;
            border: 1px solid #959695;
        }
    }
</style>
